home *** CD-ROM | disk | FTP | other *** search
/ CDUTIL 13 / CDUTIL #13 Julio 1995.iso / windows / acadwin / support / filter.dcl < prev    next >
Encoding:
Text File  |  1995-02-08  |  5.4 KB  |  264 lines

  1. // Next available MSG number is    40 
  2. // MODULE_ID FILTER_DCL_
  3. /* Next available MSG number is  57 */
  4.  
  5. //----------------------------------------------------------------------------
  6. //
  7. //   FILTER.DCL   Version 1.0
  8. //
  9. //     Copyright (C) 1991, 1992, 1993, 1994 by Autodesk, Inc.
  10. //
  11. //     Permission to use, copy, modify, and distribute this software
  12. //     for any purpose and without fee is hereby granted, provided
  13. //     that the above copyright notice appears in all copies and
  14. //     that both that copyright notice and the limited warranty and
  15. //     restricted rights notice below appear in all supporting
  16. //     documentation.
  17. //
  18. //     AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
  19. //     AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
  20. //     MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE.  AUTODESK, INC.
  21. //     DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
  22. //     UNINTERRUPTED OR ERROR FREE.
  23. //
  24. //     Use, duplication, or disclosure by the U.S. Government is subject to
  25. //     restrictions set forth in FAR 52.227-19 (Commercial Computer
  26. //     Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
  27. //     (Rights in Technical Data and Computer Software), as applicable.
  28. //
  29. //.
  30. //----------------------------------------------------------------------------
  31. //
  32. //  Filter.dcl - uses ssget to make filtered selection sets via dialogues.
  33. //
  34. //----------------------------------------------------------------------------
  35.  
  36.  
  37. //dcl_settings : default_dcl_settings { audit_level = 3; }
  38.  
  39. filter : dialog {
  40.     aspect_ratio = 0;
  41.     label = "Filtros para selecci≤n de objetos";
  42.     : list_box {
  43.     key = "filter_str_list";
  44.     width = 67;
  45.     height = 6;
  46.     tabs = "20 22 25 35 37 40 50 52 55";
  47.         tab_truncate = true;
  48.     }
  49.     : row {
  50.     : boxed_column {
  51.         label = "Seleccionar filtro";
  52.         fixed_width = true;
  53.         : row {
  54.         : popup_list {
  55.             key = "filter_by";
  56.             width = 22;
  57.         }
  58.         : button {
  59.             label = "Selec...";
  60.             key = "select";
  61.             mnemonic = "S";
  62.             vertical_alignment = top;
  63.         }
  64.  
  65.         }
  66.         : row {
  67.         : text {
  68.             label = "X:";
  69.             mnemonic = "X";
  70.             key = "x_text";
  71.         }
  72.         : popup_list {
  73.             key = "x_op";
  74.             edit_width = 5;
  75.             fixed_width = true;
  76.         }
  77.         : edit_box {
  78.             label = "";
  79.             key = "x_value";
  80.             width = 20;
  81.         }
  82.         }
  83.         : row {
  84.         : text {
  85.             label = "Y:";
  86.             mnemonic = "Y";
  87.             key = "y_text";
  88.         }
  89.         : popup_list {
  90.             key = "y_op";
  91.             edit_width = 5;
  92.             fixed_width = true;
  93.         }
  94.         : edit_box {
  95.             label = "";
  96.             key = "y_value";
  97.             width = 20;
  98.         }
  99.         }
  100.         : row {
  101.         : text {
  102.             label = "Z:";
  103.             mnemonic = "Z";
  104.             key = "z_text";
  105.         }
  106.         : popup_list {
  107.             key = "z_op";
  108.             edit_width = 5;
  109.             fixed_width = true;
  110.         }
  111.         : edit_box {
  112.             label = "";
  113.             key = "z_value";
  114.             width = 20;
  115.         }
  116.         }
  117.  
  118.         : row {
  119.         : button {
  120.             label = "A±adir a la lista";
  121.             key = "add_to_list";
  122.             mnemonic = "A";
  123.         }
  124.         : button {
  125.             label = "Sustituir";
  126.             key = "substitute";
  127.             mnemonic = "t";
  128.         }
  129.         }
  130.         : button {
  131.         label = "A±adir objeto designado <";
  132.         key = "select_entity";
  133.         mnemonic = "±";
  134.         }
  135.     }
  136.     : column {
  137.         : row {
  138.         : button {
  139.             label = "Editar elemento";
  140.             key = "edit";
  141.             mnemonic = "E";
  142.             fixed_width = true;
  143.         }
  144.         : button {
  145.             label = "Suprimir";
  146.             key = "remove";
  147.             fixed_width = true;
  148.             mnemonic = "p";
  149.         }
  150.         : button {
  151.             label = "Borrar lista";
  152.             key = "clear_list";
  153.             fixed_width = true;
  154.             mnemonic = "B";
  155.         }
  156.         }
  157.         : boxed_column {
  158.         label = "Filtros con nombre";
  159.         : popup_list{
  160.             label = "Actual:";
  161.             mnemonic = "c";
  162.             key = "named_lists";
  163.             width = 14;
  164.         }
  165.         : row {
  166.             : button {
  167.             label = "Guardar como:";
  168.             key = "save_as";
  169.             fixed_width = true;
  170.             mnemonic = "G";
  171.             }
  172.             : edit_box {
  173.             label = "";
  174.             key = "new_name";
  175.             edit_width = 20;
  176.             edit_limit = 18;
  177.             }
  178.         }
  179.         : row {
  180.             : button {
  181.             label = "Suprimir lista de filtros actual";
  182.             key = "delete_list";
  183.             mnemonic = "r";
  184.             }
  185.         }
  186.         }
  187.         : row {
  188.         fixed_width = true;
  189.         alignment = centered;
  190.         : button {
  191.             label = "Aplicar";
  192.             key = "apply";
  193.             mnemonic = "i";
  194.             fixed_width = true;
  195.             width = 8;
  196.             alignment = centered;
  197.         }
  198.         : spacer {
  199.             width = 2;
  200.         }
  201.         cancel_button;
  202.         : spacer {
  203.             width = 2;
  204.         }
  205.         help_button;
  206.         }
  207.     }
  208.     }
  209.     : errtile { width = 60; }
  210. }
  211.  
  212.  
  213. single_table : dialog {
  214.     key = "title";
  215.     width = 30;
  216.     : edit_box {
  217.     label = "Patr≤n:";
  218.     key = "pattern";
  219.     edit_width = 15;
  220.     }
  221.     : list_box {
  222.     key = "table_match";
  223.     width = 34;
  224.     multiple_select = true;
  225.     }
  226.     spacer;
  227.     ok_cancel;
  228.     errtile;
  229. }
  230.  
  231. already_exists : dialog {
  232.     label = "Advertencia";
  233.     : paragraph {
  234.     : text_part {
  235.         label = "Ya existe una lista de filtros con este nombre.";
  236.     }
  237.     : text_part {
  238.         label = "┐Desea redefinirla?";
  239.     }
  240.     }
  241.     spacer_1;
  242.     : row {
  243.     fixed_width = true;
  244.     alignment = centered;
  245.     : button {
  246.         label = "Redefinir";
  247.         mnemonic = "R";
  248.         key = "redefine";
  249.         width = 8;
  250.     }
  251.     : spacer {
  252.         width = 2;
  253.     }
  254.     : default_button {
  255.         label = "Cancelar";
  256.         mnemonic = "C";
  257.         key = "cancel";
  258.         width = 8;
  259.     }
  260.     }
  261. }
  262.  
  263.  
  264.